package com.bluejie.springBoot.dao;

import com.bluejie.springBoot.entity.business.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by bluej on 2018-03-18.
 */
public interface UserDao extends JpaRepository<User,Integer>{
    User getUserByName(String name);
    User getUserByNameAndStatus(String name,int status);
}
